from django.urls import include, path
from rest_framework.routers import DefaultRouter

from apps.home.views import AppListViewSet
from apps.home.views import UserViewSet, EmployeeViewSet

router = DefaultRouter()
router.register(r'app_list', AppListViewSet)
router.register(r'user', UserViewSet)
router.register(r'employee', EmployeeViewSet)

app_name = 'home'
urlpatterns = [
    path('', include(router.urls)),
]